package cn.jilian.entity;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

import org.hibernate.annotations.DiscriminatorOptions;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

@Entity
@DynamicInsert
@DynamicUpdate
@DiscriminatorValue(OrderItem.ELE_META)
@DiscriminatorOptions(force=true)
public class EleOrderItem extends OrderItem {

	/**
	 * 层站数
	 * */
	@Column(name="ext1")
	private Integer stationNum;

	/**
	 * 载重
	 * */
	@Column(name="ext2")
	private Double carryLoad;

	/**
	 * 速度
	 * */
	@Column(name="ext3")
	private Double speed;

	public Integer getStationNum() {
		return stationNum;
	}

	public void setStationNum(Integer stationNum) {
		this.stationNum = stationNum;
	}

	public Double getCarryLoad() {
		return carryLoad;
	}

	public void setCarryLoad(Double carryLoad) {
		this.carryLoad = carryLoad;
	}

	public Double getSpeed() {
		return speed;
	}

	public void setSpeed(Double speed) {
		this.speed = speed;
	}
	
	
}
